//package edu.aysf.clients;
//
//import edu.aysf.clients.fallback.UserClientFallbackFactory;
//import edu.aysf.entity.User;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.web.bind.annotation.PathVariable;
//import org.springframework.web.bind.annotation.RequestMapping;
//
//@FeignClient(value = "user-service",fallback = UserClientFallbackFactory.class)
//public interface UserClient {
//    @RequestMapping("/user/{id}")
//    User findById(@PathVariable Long id);
//}
